/*
 * @Date: 2021-12-14 09:59:45
 * @LastEditors: LeeKing
 * @LastEditTime: 2021-12-14 11:27:34
 * @FilePath: \admin\src\router\modules\authority.js
 */
import Layout from '@/layout'
export default {
  path: '/authority',
  component: Layout,
  name: 'Authority',
  redirect: '/authority/roles',
  meta: {
    title: '权限管理',
    icon: 'el-icon-s-home'
  },
  children: [
    {
      path: 'roles',
      name: 'roles',
      component: () => import('@/views/authority/roles/index'),
      meta: { title: '角色列表', icon: 'el-icon-menu' }
    },
    {
      path: 'rights',
      name: 'Rights',
      component: () => import('@/views/authority/rights/index'),
      meta: { title: '权限列表', icon: 'el-icon-menu' }
    }
  ]
}
